package cn.tude.xctf.boot1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller

public class HelloController {

    @RequestMapping("/test")
    @ResponseBody
    public String test(String username){
        System.out.println("username"+username);
        return "收到数据";
    }
}